#include <stdio.h>
#include <string.h>

typedef unsigned char u8 ;
typedef struct __elem
{
	union
	{
		char i;
		struct
		{
/*
			char a:3;
			char b:2;
			char c:3;
*/
			u8 a:3;
			u8 b:2;
			u8 c:3;
		}n;
	}num;
}elem;

int main()
{
	elem test;
	test.num.i=0xac;
	printf( "%d\n", sizeof(elem) );
	printf("%d %d %d\n",test.num.n.a,test.num.n.b,test.num.n.c);

	return 0;
}

